package cn.school.stu.evaluation.dao;

import cn.school.stu.evaluation.entity.StuEvaPlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: lx
 * @date: 2023/5/25 9:29
 * @description: 考评方案dao层
 */
@Mapper
@Component
public interface StuEvaPlanDao extends BaseMapper<StuEvaPlan> {

    int findStuEvaPlanCount(@Param("planName") String planName, @Param("tenantId")String tenantId);

    List<StuEvaPlan> findStuEvaPlanPageList(@Param("startNum")int startNum,
                                            @Param("pageSize")int pageSize,
                                            @Param("planName")String planName,
                                            @Param("tenantId")String tenantId);
}
